↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_aa(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
QS_IN_GA(.(X, Xs), Ys) → PART_IN_AGAA(X, Xs, Littles, Bigs)
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AGAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AGAA(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_GA(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_GA(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGA(Ls, .(X, Bs), Ys)
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → U8_GGA(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGG(Ls, .(X, Bs), Ys)
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → U8_GGG(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_aa(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
QS_IN_GA(.(X, Xs), Ys) → PART_IN_AGAA(X, Xs, Littles, Bigs)
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AGAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AGAA(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_GA(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_GA(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGA(Ls, .(X, Bs), Ys)
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → U8_GGA(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGG(Ls, .(X, Bs), Ys)
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → U8_GGG(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_GGG(.(Xs), Ys, .(Zs)) → APP_IN_GGG(Xs, Ys, Zs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_GGA(.(Xs), Ys) → APP_IN_GGA(Xs, Ys)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AA → LESS_IN_AA
LESS_IN_AA → LESS_IN_AA
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GGAA(X, .(Xs)) → U5_GGAA(X, Xs, less_in_ga(X))
U5_GGAA(X, Xs, less_out_ga(Y)) → PART_IN_GGAA(X, Xs)
PART_IN_GGAA(X, .(Xs)) → PART_IN_GGAA(X, Xs)
less_in_ga(0) → less_out_ga(s)
less_in_ga(s) → U9_ga(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_AGAA(.(Xs)) → PART_IN_AGAA(Xs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
QS_IN_GA(.(Xs)) → U1_GA(part_in_agaa(Xs))
U1_GA(part_out_agaa(Littles, Bigs)) → QS_IN_GA(Littles)
U2_GA(Bigs, qs_out_ga(Ls)) → QS_IN_GA(Bigs)
U1_GA(part_out_agaa(Littles, Bigs)) → U2_GA(Bigs, qs_in_ga(Littles))
part_in_agaa(.(Xs)) → U5_agaa(Xs, less_in_aa)
part_in_agaa(.(Xs)) → U7_agaa(part_in_agaa(Xs))
part_in_agaa([]) → part_out_agaa([], [])
qs_in_ga([]) → qs_out_ga([])
qs_in_ga(.(Xs)) → U1_ga(part_in_agaa(Xs))
U5_agaa(Xs, less_out_aa(X, Y)) → U6_agaa(part_in_ggaa(X, Xs))
U7_agaa(part_out_agaa(Ls, Bs)) → part_out_agaa(Ls, .(Bs))
U1_ga(part_out_agaa(Littles, Bigs)) → U2_ga(Bigs, qs_in_ga(Littles))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U6_agaa(part_out_ggaa(Ls, Bs)) → part_out_agaa(.(Ls), Bs)
U2_ga(Bigs, qs_out_ga(Ls)) → U3_ga(Ls, qs_in_ga(Bigs))
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
part_in_ggaa(X, .(Xs)) → U5_ggaa(X, Xs, less_in_ga(X))
part_in_ggaa(X, .(Xs)) → U7_ggaa(part_in_ggaa(X, Xs))
part_in_ggaa(X, []) → part_out_ggaa([], [])
U3_ga(Ls, qs_out_ga(Bs)) → U4_ga(app_in_gga(Ls, .(Bs)))
U5_ggaa(X, Xs, less_out_ga(Y)) → U6_ggaa(part_in_ggaa(X, Xs))
U7_ggaa(part_out_ggaa(Ls, Bs)) → part_out_ggaa(Ls, .(Bs))
U4_ga(app_out_gga(Ys)) → qs_out_ga(Ys)
less_in_ga(0) → less_out_ga(s)
less_in_ga(s) → U9_ga(less_in_aa)
U6_ggaa(part_out_ggaa(Ls, Bs)) → part_out_ggaa(.(Ls), Bs)
app_in_gga([], X) → app_out_gga(X)
app_in_gga(.(Xs), Ys) → U8_gga(app_in_gga(Xs, Ys))
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
U8_gga(app_out_gga(Zs)) → app_out_gga(.(Zs))
part_in_agaa(x0)
qs_in_ga(x0)
U5_agaa(x0, x1)
U7_agaa(x0)
U1_ga(x0)
less_in_aa
U6_agaa(x0)
U2_ga(x0, x1)
U9_aa(x0)
part_in_ggaa(x0, x1)
U3_ga(x0, x1)
U5_ggaa(x0, x1, x2)
U7_ggaa(x0)
U4_ga(x0)
less_in_ga(x0)
U6_ggaa(x0)
app_in_gga(x0, x1)
U9_ga(x0)
U8_gga(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
QS_IN_GA(.(Xs)) → U1_GA(part_in_agaa(Xs))
Used ordering: Polynomial interpretation [25]:
U1_GA(part_out_agaa(Littles, Bigs)) → QS_IN_GA(Littles)
U2_GA(Bigs, qs_out_ga(Ls)) → QS_IN_GA(Bigs)
U1_GA(part_out_agaa(Littles, Bigs)) → U2_GA(Bigs, qs_in_ga(Littles))
POL(.(x1)) = 1 + x1
POL(0) = 0
POL(QS_IN_GA(x1)) = 1 + x1
POL(U1_GA(x1)) = 1 + x1
POL(U1_ga(x1)) = 1
POL(U2_GA(x1, x2)) = x1 + x2
POL(U2_ga(x1, x2)) = 1
POL(U3_ga(x1, x2)) = 1
POL(U4_ga(x1)) = 1
POL(U5_agaa(x1, x2)) = 1 + x1
POL(U5_ggaa(x1, x2, x3)) = 1 + x2
POL(U6_agaa(x1)) = 1 + x1
POL(U6_ggaa(x1)) = 1 + x1
POL(U7_agaa(x1)) = 1 + x1
POL(U7_ggaa(x1)) = 1 + x1
POL(U8_gga(x1)) = 0
POL(U9_aa(x1)) = 0
POL(U9_ga(x1)) = 0
POL([]) = 0
POL(app_in_gga(x1, x2)) = 0
POL(app_out_gga(x1)) = 0
POL(less_in_aa) = 0
POL(less_in_ga(x1)) = 0
POL(less_out_aa(x1, x2)) = 0
POL(less_out_ga(x1)) = 0
POL(part_in_agaa(x1)) = x1
POL(part_in_ggaa(x1, x2)) = x2
POL(part_out_agaa(x1, x2)) = x1 + x2
POL(part_out_ggaa(x1, x2)) = x1 + x2
POL(qs_in_ga(x1)) = 1 + x1
POL(qs_out_ga(x1)) = 1
POL(s) = 0
U3_ga(Ls, qs_out_ga(Bs)) → U4_ga(app_in_gga(Ls, .(Bs)))
part_in_agaa(.(Xs)) → U5_agaa(Xs, less_in_aa)
U5_ggaa(X, Xs, less_out_ga(Y)) → U6_ggaa(part_in_ggaa(X, Xs))
U5_agaa(Xs, less_out_aa(X, Y)) → U6_agaa(part_in_ggaa(X, Xs))
U7_agaa(part_out_agaa(Ls, Bs)) → part_out_agaa(Ls, .(Bs))
part_in_ggaa(X, .(Xs)) → U7_ggaa(part_in_ggaa(X, Xs))
U4_ga(app_out_gga(Ys)) → qs_out_ga(Ys)
U1_ga(part_out_agaa(Littles, Bigs)) → U2_ga(Bigs, qs_in_ga(Littles))
U2_ga(Bigs, qs_out_ga(Ls)) → U3_ga(Ls, qs_in_ga(Bigs))
U6_ggaa(part_out_ggaa(Ls, Bs)) → part_out_ggaa(.(Ls), Bs)
qs_in_ga(.(Xs)) → U1_ga(part_in_agaa(Xs))
part_in_ggaa(X, .(Xs)) → U5_ggaa(X, Xs, less_in_ga(X))
U7_ggaa(part_out_ggaa(Ls, Bs)) → part_out_ggaa(Ls, .(Bs))
U6_agaa(part_out_ggaa(Ls, Bs)) → part_out_agaa(.(Ls), Bs)
part_in_agaa([]) → part_out_agaa([], [])
part_in_ggaa(X, []) → part_out_ggaa([], [])
part_in_agaa(.(Xs)) → U7_agaa(part_in_agaa(Xs))
qs_in_ga([]) → qs_out_ga([])
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
U1_GA(part_out_agaa(Littles, Bigs)) → QS_IN_GA(Littles)
U2_GA(Bigs, qs_out_ga(Ls)) → QS_IN_GA(Bigs)
U1_GA(part_out_agaa(Littles, Bigs)) → U2_GA(Bigs, qs_in_ga(Littles))
part_in_agaa(.(Xs)) → U5_agaa(Xs, less_in_aa)
part_in_agaa(.(Xs)) → U7_agaa(part_in_agaa(Xs))
part_in_agaa([]) → part_out_agaa([], [])
qs_in_ga([]) → qs_out_ga([])
qs_in_ga(.(Xs)) → U1_ga(part_in_agaa(Xs))
U5_agaa(Xs, less_out_aa(X, Y)) → U6_agaa(part_in_ggaa(X, Xs))
U7_agaa(part_out_agaa(Ls, Bs)) → part_out_agaa(Ls, .(Bs))
U1_ga(part_out_agaa(Littles, Bigs)) → U2_ga(Bigs, qs_in_ga(Littles))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U6_agaa(part_out_ggaa(Ls, Bs)) → part_out_agaa(.(Ls), Bs)
U2_ga(Bigs, qs_out_ga(Ls)) → U3_ga(Ls, qs_in_ga(Bigs))
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
part_in_ggaa(X, .(Xs)) → U5_ggaa(X, Xs, less_in_ga(X))
part_in_ggaa(X, .(Xs)) → U7_ggaa(part_in_ggaa(X, Xs))
part_in_ggaa(X, []) → part_out_ggaa([], [])
U3_ga(Ls, qs_out_ga(Bs)) → U4_ga(app_in_gga(Ls, .(Bs)))
U5_ggaa(X, Xs, less_out_ga(Y)) → U6_ggaa(part_in_ggaa(X, Xs))
U7_ggaa(part_out_ggaa(Ls, Bs)) → part_out_ggaa(Ls, .(Bs))
U4_ga(app_out_gga(Ys)) → qs_out_ga(Ys)
less_in_ga(0) → less_out_ga(s)
less_in_ga(s) → U9_ga(less_in_aa)
U6_ggaa(part_out_ggaa(Ls, Bs)) → part_out_ggaa(.(Ls), Bs)
app_in_gga([], X) → app_out_gga(X)
app_in_gga(.(Xs), Ys) → U8_gga(app_in_gga(Xs, Ys))
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
U8_gga(app_out_gga(Zs)) → app_out_gga(.(Zs))
part_in_agaa(x0)
qs_in_ga(x0)
U5_agaa(x0, x1)
U7_agaa(x0)
U1_ga(x0)
less_in_aa
U6_agaa(x0)
U2_ga(x0, x1)
U9_aa(x0)
part_in_ggaa(x0, x1)
U3_ga(x0, x1)
U5_ggaa(x0, x1, x2)
U7_ggaa(x0)
U4_ga(x0)
less_in_ga(x0)
U6_ggaa(x0)
app_in_gga(x0, x1)
U9_ga(x0)
U8_gga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(X, less_out_ga(Y)) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → U5_GAAA(X, less_in_ga(X))
less_in_ga(0) → less_out_ga(s)
less_in_ga(s) → U9_ga(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(s))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(X, less_out_ga(Y)) → PART_IN_GAAA(X)
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(s))
less_in_ga(0) → less_out_ga(s)
less_in_ga(s) → U9_ga(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(X, less_out_ga(Y)) → PART_IN_GAAA(X)
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(s))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
less_in_ga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(X, less_out_ga(Y)) → PART_IN_GAAA(X)
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(s))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
U9_ga(x0)
less_in_aa
U9_aa(x0)
U5_GAAA(s, less_out_ga(x1)) → PART_IN_GAAA(s)
U5_GAAA(0, less_out_ga(s)) → PART_IN_GAAA(0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
U5_GAAA(s, less_out_ga(x1)) → PART_IN_GAAA(s)
U5_GAAA(0, less_out_ga(s)) → PART_IN_GAAA(0)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(s))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
U9_ga(x0)
less_in_aa
U9_aa(x0)
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
U5_GAAA(s, less_out_ga(x1)) → PART_IN_GAAA(s)
U5_GAAA(0, less_out_ga(s)) → PART_IN_GAAA(0)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(s))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
PART_IN_AAAA → PART_IN_AAAA
PART_IN_AAAA → PART_IN_AAAA
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_aa(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
QS_IN_GA(.(X, Xs), Ys) → PART_IN_AGAA(X, Xs, Littles, Bigs)
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AGAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AGAA(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_GA(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_GA(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGA(Ls, .(X, Bs), Ys)
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → U8_GGA(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGG(Ls, .(X, Bs), Ys)
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → U8_GGG(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_aa(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
QS_IN_GA(.(X, Xs), Ys) → PART_IN_AGAA(X, Xs, Littles, Bigs)
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AGAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_AGAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GGAA(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AGAA(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_GA(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_GA(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
U3_GA(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGA(Ls, .(X, Bs), Ys)
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → U8_GGA(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → APP_IN_GGG(Ls, .(X, Bs), Ys)
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → U8_GGG(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_GGG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGG(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_GGG(.(Xs), Ys, .(Zs)) → APP_IN_GGG(Xs, Ys, Zs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_GGA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_GGA(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_GGA(.(Xs), Ys) → APP_IN_GGA(Xs, Ys)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_AA → LESS_IN_AA
LESS_IN_AA → LESS_IN_AA
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
U5_GGAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs, Ls, Bs)
PART_IN_GGAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GGAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GGAA(X, Xs, Ls, Bs)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_GGAA(X, .(Xs)) → U5_GGAA(X, Xs, less_in_ga(X))
U5_GGAA(X, Xs, less_out_ga(X, Y)) → PART_IN_GGAA(X, Xs)
PART_IN_GGAA(X, .(Xs)) → PART_IN_GGAA(X, Xs)
less_in_ga(0) → less_out_ga(0, s)
less_in_ga(s) → U9_ga(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_AGAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AGAA(X, Xs, Ls, Bs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_AGAA(.(Xs)) → PART_IN_AGAA(Xs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → QS_IN_GA(Littles, Ls)
QS_IN_GA(.(X, Xs), Ys) → U1_GA(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
U1_GA(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_GA(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_GA(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs, Bs)
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ PiDP
↳ PiDP
U1_GA(Xs, part_out_agaa(Xs, Littles, Bigs)) → QS_IN_GA(Littles)
U1_GA(Xs, part_out_agaa(Xs, Littles, Bigs)) → U2_GA(Xs, Bigs, qs_in_ga(Littles))
U2_GA(Xs, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs)
QS_IN_GA(.(Xs)) → U1_GA(Xs, part_in_agaa(Xs))
part_in_agaa(.(Xs)) → U5_agaa(Xs, less_in_aa)
part_in_agaa(.(Xs)) → U7_agaa(Xs, part_in_agaa(Xs))
part_in_agaa([]) → part_out_agaa([], [], [])
qs_in_ga([]) → qs_out_ga([], [])
qs_in_ga(.(Xs)) → U1_ga(Xs, part_in_agaa(Xs))
U5_agaa(Xs, less_out_aa(X, Y)) → U6_agaa(Xs, part_in_ggaa(X, Xs))
U7_agaa(Xs, part_out_agaa(Xs, Ls, Bs)) → part_out_agaa(.(Xs), Ls, .(Bs))
U1_ga(Xs, part_out_agaa(Xs, Littles, Bigs)) → U2_ga(Xs, Bigs, qs_in_ga(Littles))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U6_agaa(Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(.(Xs), .(Ls), Bs)
U2_ga(Xs, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(Xs, Ls, qs_in_ga(Bigs))
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
part_in_ggaa(X, .(Xs)) → U5_ggaa(X, Xs, less_in_ga(X))
part_in_ggaa(X, .(Xs)) → U7_ggaa(X, Xs, part_in_ggaa(X, Xs))
part_in_ggaa(X, []) → part_out_ggaa(X, [], [], [])
U3_ga(Xs, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(Xs, app_in_gga(Ls, .(Bs)))
U5_ggaa(X, Xs, less_out_ga(X, Y)) → U6_ggaa(X, Xs, part_in_ggaa(X, Xs))
U7_ggaa(X, Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Xs), Ls, .(Bs))
U4_ga(Xs, app_out_gga(Ls, .(Bs), Ys)) → qs_out_ga(.(Xs), Ys)
less_in_ga(0) → less_out_ga(0, s)
less_in_ga(s) → U9_ga(less_in_aa)
U6_ggaa(X, Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Xs), .(Ls), Bs)
app_in_gga([], X) → app_out_gga([], X, X)
app_in_gga(.(Xs), Ys) → U8_gga(Xs, Ys, app_in_gga(Xs, Ys))
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
U8_gga(Xs, Ys, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(Xs), Ys, .(Zs))
part_in_agaa(x0)
qs_in_ga(x0)
U5_agaa(x0, x1)
U7_agaa(x0, x1)
U1_ga(x0, x1)
less_in_aa
U6_agaa(x0, x1)
U2_ga(x0, x1, x2)
U9_aa(x0)
part_in_ggaa(x0, x1)
U3_ga(x0, x1, x2)
U5_ggaa(x0, x1, x2)
U7_ggaa(x0, x1, x2)
U4_ga(x0, x1)
less_in_ga(x0)
U6_ggaa(x0, x1, x2)
app_in_gga(x0, x1)
U9_ga(x0)
U8_gga(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
QS_IN_GA(.(Xs)) → U1_GA(Xs, part_in_agaa(Xs))
Used ordering: Polynomial interpretation [25]:
U1_GA(Xs, part_out_agaa(Xs, Littles, Bigs)) → QS_IN_GA(Littles)
U1_GA(Xs, part_out_agaa(Xs, Littles, Bigs)) → U2_GA(Xs, Bigs, qs_in_ga(Littles))
U2_GA(Xs, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs)
POL(.(x1)) = 1 + x1
POL(0) = 1
POL(QS_IN_GA(x1)) = x1
POL(U1_GA(x1, x2)) = x2
POL(U1_ga(x1, x2)) = 0
POL(U2_GA(x1, x2, x3)) = x2
POL(U2_ga(x1, x2, x3)) = 0
POL(U3_ga(x1, x2, x3)) = 0
POL(U4_ga(x1, x2)) = 0
POL(U5_agaa(x1, x2)) = 1 + x1
POL(U5_ggaa(x1, x2, x3)) = 1 + x2
POL(U6_agaa(x1, x2)) = 1 + x2
POL(U6_ggaa(x1, x2, x3)) = 1 + x3
POL(U7_agaa(x1, x2)) = 1 + x2
POL(U7_ggaa(x1, x2, x3)) = 1 + x3
POL(U8_gga(x1, x2, x3)) = 0
POL(U9_aa(x1)) = 0
POL(U9_ga(x1)) = x1
POL([]) = 0
POL(app_in_gga(x1, x2)) = 0
POL(app_out_gga(x1, x2, x3)) = 0
POL(less_in_aa) = 1
POL(less_in_ga(x1)) = 1
POL(less_out_aa(x1, x2)) = x1
POL(less_out_ga(x1, x2)) = 0
POL(part_in_agaa(x1)) = x1
POL(part_in_ggaa(x1, x2)) = x2
POL(part_out_agaa(x1, x2, x3)) = x2 + x3
POL(part_out_ggaa(x1, x2, x3, x4)) = x3 + x4
POL(qs_in_ga(x1)) = 0
POL(qs_out_ga(x1, x2)) = 0
POL(s) = 0
part_in_agaa(.(Xs)) → U7_agaa(Xs, part_in_agaa(Xs))
U7_agaa(Xs, part_out_agaa(Xs, Ls, Bs)) → part_out_agaa(.(Xs), Ls, .(Bs))
U6_ggaa(X, Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Xs), .(Ls), Bs)
part_in_ggaa(X, .(Xs)) → U7_ggaa(X, Xs, part_in_ggaa(X, Xs))
part_in_ggaa(X, .(Xs)) → U5_ggaa(X, Xs, less_in_ga(X))
part_in_agaa([]) → part_out_agaa([], [], [])
part_in_ggaa(X, []) → part_out_ggaa(X, [], [], [])
U6_agaa(Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(.(Xs), .(Ls), Bs)
U5_agaa(Xs, less_out_aa(X, Y)) → U6_agaa(Xs, part_in_ggaa(X, Xs))
part_in_agaa(.(Xs)) → U5_agaa(Xs, less_in_aa)
U5_ggaa(X, Xs, less_out_ga(X, Y)) → U6_ggaa(X, Xs, part_in_ggaa(X, Xs))
U7_ggaa(X, Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Xs), Ls, .(Bs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDP
U1_GA(Xs, part_out_agaa(Xs, Littles, Bigs)) → QS_IN_GA(Littles)
U1_GA(Xs, part_out_agaa(Xs, Littles, Bigs)) → U2_GA(Xs, Bigs, qs_in_ga(Littles))
U2_GA(Xs, Bigs, qs_out_ga(Littles, Ls)) → QS_IN_GA(Bigs)
part_in_agaa(.(Xs)) → U5_agaa(Xs, less_in_aa)
part_in_agaa(.(Xs)) → U7_agaa(Xs, part_in_agaa(Xs))
part_in_agaa([]) → part_out_agaa([], [], [])
qs_in_ga([]) → qs_out_ga([], [])
qs_in_ga(.(Xs)) → U1_ga(Xs, part_in_agaa(Xs))
U5_agaa(Xs, less_out_aa(X, Y)) → U6_agaa(Xs, part_in_ggaa(X, Xs))
U7_agaa(Xs, part_out_agaa(Xs, Ls, Bs)) → part_out_agaa(.(Xs), Ls, .(Bs))
U1_ga(Xs, part_out_agaa(Xs, Littles, Bigs)) → U2_ga(Xs, Bigs, qs_in_ga(Littles))
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U6_agaa(Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(.(Xs), .(Ls), Bs)
U2_ga(Xs, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(Xs, Ls, qs_in_ga(Bigs))
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
part_in_ggaa(X, .(Xs)) → U5_ggaa(X, Xs, less_in_ga(X))
part_in_ggaa(X, .(Xs)) → U7_ggaa(X, Xs, part_in_ggaa(X, Xs))
part_in_ggaa(X, []) → part_out_ggaa(X, [], [], [])
U3_ga(Xs, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(Xs, app_in_gga(Ls, .(Bs)))
U5_ggaa(X, Xs, less_out_ga(X, Y)) → U6_ggaa(X, Xs, part_in_ggaa(X, Xs))
U7_ggaa(X, Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Xs), Ls, .(Bs))
U4_ga(Xs, app_out_gga(Ls, .(Bs), Ys)) → qs_out_ga(.(Xs), Ys)
less_in_ga(0) → less_out_ga(0, s)
less_in_ga(s) → U9_ga(less_in_aa)
U6_ggaa(X, Xs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Xs), .(Ls), Bs)
app_in_gga([], X) → app_out_gga([], X, X)
app_in_gga(.(Xs), Ys) → U8_gga(Xs, Ys, app_in_gga(Xs, Ys))
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
U8_gga(Xs, Ys, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(Xs), Ys, .(Zs))
part_in_agaa(x0)
qs_in_ga(x0)
U5_agaa(x0, x1)
U7_agaa(x0, x1)
U1_ga(x0, x1)
less_in_aa
U6_agaa(x0, x1)
U2_ga(x0, x1, x2)
U9_aa(x0)
part_in_ggaa(x0, x1)
U3_ga(x0, x1, x2)
U5_ggaa(x0, x1, x2)
U7_ggaa(x0, x1, x2)
U4_ga(x0, x1)
less_in_ga(x0)
U6_ggaa(x0, x1, x2)
app_in_gga(x0, x1)
U9_ga(x0)
U8_gga(x0, x1, x2)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(X, less_out_ga(X, Y)) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → U5_GAAA(X, less_in_ga(X))
less_in_ga(0) → less_out_ga(0, s)
less_in_ga(s) → U9_ga(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0, s))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ PiDP
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0, s))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(X, less_out_ga(X, Y)) → PART_IN_GAAA(X)
less_in_ga(0) → less_out_ga(0, s)
less_in_ga(s) → U9_ga(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ PiDP
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0, s))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(X, less_out_ga(X, Y)) → PART_IN_GAAA(X)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
less_in_ga(x0)
U9_ga(x0)
less_in_aa
U9_aa(x0)
less_in_ga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ PiDP
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0, s))
U5_GAAA(X, less_out_ga(X, Y)) → PART_IN_GAAA(X)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
U9_ga(x0)
less_in_aa
U9_aa(x0)
U5_GAAA(s, less_out_ga(s, x1)) → PART_IN_GAAA(s)
U5_GAAA(0, less_out_ga(0, s)) → PART_IN_GAAA(0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PiDP
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0, s))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(s, less_out_ga(s, x1)) → PART_IN_GAAA(s)
U5_GAAA(0, less_out_ga(0, s)) → PART_IN_GAAA(0)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
U9_ga(x0)
less_in_aa
U9_aa(x0)
PART_IN_GAAA(s) → U5_GAAA(s, U9_ga(less_in_aa))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0, s))
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(s, less_out_ga(s, x1)) → PART_IN_GAAA(s)
U5_GAAA(0, less_out_ga(0, s)) → PART_IN_GAAA(0)
less_in_aa → less_out_aa(0, s)
less_in_aa → U9_aa(less_in_aa)
U9_ga(less_out_aa(X, Y)) → less_out_ga(s, s)
U9_aa(less_out_aa(X, Y)) → less_out_aa(s, s)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_aa(X, Y))
U9_ga(X, Y, less_out_aa(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
qs_in_ga([], []) → qs_out_ga([], [])
qs_in_ga(.(X, Xs), Ys) → U1_ga(X, Xs, Ys, part_in_agaa(X, Xs, Littles, Bigs))
part_in_agaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_agaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
U5_agaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_agaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_ggaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_ggaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_ggaa(X, Y, Xs, Ls, Bs, part_in_ggaa(X, Xs, Ls, Bs))
part_in_ggaa(X, [], [], []) → part_out_ggaa(X, [], [], [])
U7_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_ggaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_ggaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_agaa(X, Y, Xs, Ls, Bs, part_out_ggaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_agaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_agaa(X, Y, Xs, Ls, Bs, part_in_agaa(X, Xs, Ls, Bs))
part_in_agaa(X, [], [], []) → part_out_agaa(X, [], [], [])
U7_agaa(X, Y, Xs, Ls, Bs, part_out_agaa(X, Xs, Ls, Bs)) → part_out_agaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ga(X, Xs, Ys, part_out_agaa(X, Xs, Littles, Bigs)) → U2_ga(X, Xs, Ys, Bigs, qs_in_ga(Littles, Ls))
U2_ga(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ga(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ga(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ga(X, Xs, Ys, app_in_gga(Ls, .(X, Bs), Ys))
app_in_gga([], X, X) → app_out_gga([], X, X)
app_in_gga(.(X, Xs), Ys, .(X, Zs)) → U8_gga(X, Xs, Ys, Zs, app_in_gga(Xs, Ys, Zs))
U8_gga(X, Xs, Ys, Zs, app_out_gga(Xs, Ys, Zs)) → app_out_gga(.(X, Xs), Ys, .(X, Zs))
U4_ga(X, Xs, Ys, app_out_gga(Ls, .(X, Bs), Ys)) → qs_out_ga(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_ga(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_ga(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_ga(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_ggg(Ls, .(X, Bs), Ys))
app_in_ggg([], X, X) → app_out_ggg([], X, X)
app_in_ggg(.(X, Xs), Ys, .(X, Zs)) → U8_ggg(X, Xs, Ys, Zs, app_in_ggg(Xs, Ys, Zs))
U8_ggg(X, Xs, Ys, Zs, app_out_ggg(Xs, Ys, Zs)) → app_out_ggg(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_ggg(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
PART_IN_AAAA → PART_IN_AAAA
PART_IN_AAAA → PART_IN_AAAA